sync/atomic.Uint64.Add (method)
7 uses
sync/atomic (current package)
type.go#L183: func (x *Uint64) Add(delta uint64) (new uint64) { return AddUint64(&x.v, delta) }
sync
poolqueue.go#L105: d.headTail.Add(1 << dequeueBits)
waitgroup.go#L54: state := wg.state.Add(uint64(delta) << 32)
go.uber.org/zap/zapcore
sampler.go#L68: return c.counter.Add(1)
sampler.go#L77: return c.counter.Add(1)
internal/godebug
godebug.go#L123: s.nonDefault.Add(1)
testing
benchmark.go#L904: n := pb.globalN.Add(pb.grain)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)